﻿namespace SAS.Core.Entity
{
    public class User : BaseEntity
    {
        /// <summary>
        /// Id of user
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// First Name
        /// </summary>
        public string FirstName { get; set; }

        /// <summary>
        /// Last Name
        /// </summary>
        public string LastName { get; set; }

        /// <summary>
        /// Email
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// Email
        /// </summary>
        public string UserPassword { get; set; }

        /// <summary>
        /// Display name
        /// </summary>
        public string DisplayName { get; set; }

        /// <summary>
        /// Title
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// Phone 1
        /// </summary>
        public string Phone1 { get; set; }

        /// <summary>
        /// Phone 2
        /// </summary>
        public string Phone2 { get; set; }

        /// <summary>
        /// Address
        /// </summary>
        public string Address1 { get; set; }

        /// <summary>
        /// Address 2
        /// </summary>
        public string Address2 { get; set; }

        /// <summary>
        /// Address 2
        /// </summary>
        public string City { get; set; }

        /// <summary>
        /// StateProv
        /// </summary>
        public string StateProv { get; set; }

        /// <summary>
        /// StateProv
        /// </summary>
        public string PostalCode { get; set; }
        
        /// <summary>
        /// StateProv
        /// </summary>
        public string Country { get; set; }

        /// <summary>
        /// StateProv
        /// </summary>
        public string ClientRoleName { get; set; }        

        /// <summary>
        /// Password
        /// </summary>
        public string HashPass { get; set; }

        /// <summary>
        /// secret key
        /// </summary>
        public string Secret { get; set; }

        /// <summary>
        /// token key
        /// </summary>
        public string TokenKey { get; set; }

        /// <summary>
        /// is authentication
        /// </summary>
        public bool Authenticated { get; set; }

        /// <summary>
        /// is active
        /// </summary>
        public bool IsActive { get; set; }

        /// <summary>
        /// IsCurrent
        /// </summary>
        public bool IsCurrent { get; set; }

        public string Hash { get; set; }

    }
}
